package com.apes.framework.plugin.mq.domain;

import com.apes.framework.util.DateUtil;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

@Data
@Document(collection = "MQueueDeadLetter")
public class MQueueDeadLetter {

    @Id  // 主键
    private String id;
    private String msgId; //消息编号
    private String created = DateUtil.format();  //消息创建时间
}
